package com.quanyan.activity.entity;

import com.quanyan.activity.BaseEntity;
import com.quanyan.activity.response.RespActivityPoster;
import com.quanyan.common.vo.Image;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * ProductInfo
 * 活动对象
 * @author Li Shuai
 * @date 16/5/26
 */
public class ActivityInfo extends BaseEntity {

    private static final long serialVersionUID = -7509164376945513071L;
    private Integer id;
    private Integer uid;
    private String groupId;//聊天室id
    @NotNull
    private String name;//活动名称
    private String extendName;//活动扩展名
    @NotNull
    private Date startTime;//活动开始时间
    @NotNull
    private Date endTime;//活动结束时间
    private BigDecimal price;//活动价格
    private Integer limitNum;//活动限制人数
    private Date signStartTime;//报名开始时间
    private Date signEndTime;//报名截止时间
//    private String bodyUrl;//活动介绍
//    private String attentionUrl;//活动注意事项
    private Integer categoryId;//运动项目
    private Integer placeId;//场馆
    private Integer placeUnitId;//场地
    private String placeAddress;//跑步骑行手输场馆
    @NotNull
    private Byte activityType;//活动类型
    private Byte status;//活动状态
    private Integer payStatus;//支付状态 0待付款，1已取消，2已付款，3退款中，4已退款，5已完成，6已评价
    private Date curTime;//服务器时间
    private Integer isSettle; //是否结算 1:是 0:否
    private String extension;//扩展信息 一般为json格式
    private RespActivityPoster respActivityPoster;
    private Integer posterPicId;
    private Byte gameType;
    private Byte isOfficial;
    private Byte isDelete;
    private List<ActivityMedia> activityMediaList;
    private ActivityDesc activityDesc;
    private Integer alreadySignTotalNum;

    private Integer alreadyLockSignTotalNum;

    public Integer getAlreadyLockSignTotalNum() {
        return alreadyLockSignTotalNum;
    }

    public void setAlreadyLockSignTotalNum(Integer alreadyLockSignTotalNum) {
        this.alreadyLockSignTotalNum = alreadyLockSignTotalNum;
    }

    public String getPlaceAddress() {
        return placeAddress;
    }

    public void setPlaceAddress(String placeAddress) {
        this.placeAddress = placeAddress;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getExtendName() {
        return extendName;
    }

    public void setExtendName(String extendName) {
        this.extendName = extendName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getLimitNum() {
        return limitNum;
    }

    public void setLimitNum(Integer limitNum) {
        this.limitNum = limitNum;
    }

    public Date getSignStartTime() {
        return signStartTime;
    }

    public void setSignStartTime(Date signStartTime) {
        this.signStartTime = signStartTime;
    }

    public Date getSignEndTime() {
        return signEndTime;
    }

    public void setSignEndTime(Date signEndTime) {
        this.signEndTime = signEndTime;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public Integer getPlaceUnitId() {
        return placeUnitId;
    }

    public void setPlaceUnitId(Integer placeUnitId) {
        this.placeUnitId = placeUnitId;
    }

    public Byte getActivityType() {
        return activityType;
    }

    public void setActivityType(Byte activityType) {
        this.activityType = activityType;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    public List<ActivityMedia> getActivityMediaList() {
        return activityMediaList;
    }

    public void setActivityMediaList(List<ActivityMedia> activityMediaList) {
        this.activityMediaList = activityMediaList;
    }

    public ActivityDesc getActivityDesc() {
        return activityDesc;
    }

    public void setActivityDesc(ActivityDesc activityDesc) {
        this.activityDesc = activityDesc;
    }

    public Byte getGameType() {
        return gameType;
    }

    public void setGameType(Byte gameType) {
        this.gameType = gameType;
    }

    public Byte getIsOfficial() {
        return isOfficial;
    }

    public void setIsOfficial(Byte isOfficial) {
        this.isOfficial = isOfficial;
    }

    public Byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCurTime() {
        return curTime;
    }

    public void setCurTime(Date curTime) {
        this.curTime = curTime;
    }

    public Integer getIsSettle() {
        return isSettle;
    }

    public void setIsSettle(Integer isSettle) {
        this.isSettle = isSettle;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public RespActivityPoster getRespActivityPoster() {
        return respActivityPoster;
    }

    public void setRespActivityPoster(RespActivityPoster respActivityPoster) {
        this.respActivityPoster = respActivityPoster;
    }

    public Integer getPosterPicId() {
        return posterPicId;
    }

    public void setPosterPicId(Integer posterPicId) {
        this.posterPicId = posterPicId;
    }

    public Integer getAlreadySignTotalNum() {
        return alreadySignTotalNum;
    }

    public void setAlreadySignTotalNum(Integer alreadySignTotalNum) {
        this.alreadySignTotalNum = alreadySignTotalNum;
    }
}
